Use of process.exit() is discouraged as it will potentially stop the complete node.js application. Consider quitting gracefully instead by throwing an Error.
Loading history...
47
};
48
49
return server.stop()
50
.then(_exit, _exit);
51
};
52
53
taskLogger.starting();
54
55
server.start()
56
.then(() => taskLogger.started())
57
.catch(error => {
58
const newError = new NestedError(`Exit ${appName} after an error at initialisation`, error);